# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# pyojo.examples                                  Copyright (c) 2013 nabla.net
# ----------------------------------------------------------------------------
""" This is the minimal application.
"""
import pyojo


@pyojo.route("/")
def HelloWorld(request):
    request.content_type("text/plain")
    return ["Hello World!"]


if __name__ == '__main__':
    from pyojo.server import main
    main()
    
    #Any WSGI server should work:
    #from pyojo.server import application
    #from paste import httpserver
    #httpserver.serve(application, host='127.0.0.1', port='8080')